package com.ftf.tp.common.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 领域事件业务类型枚举
 *
 * @author tanghao
 */
@AllArgsConstructor
public enum DomainEventEnum {

    /**
     * 领域事件
     */
    ARTICLE_PUBLISH("article_publish", "文章发布事件"),

    USER_ACTION("user_action", "用户行为事件"),
    ;

    @Getter
    private final String key;

    @Getter
    private final String value;

}
